import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Vue from 'vue'
import App from './App.vue'
import { registerMicroApps, start } from 'qiankun';
import router from './router'

Vue.config.productionTip = false
Vue.use(ElementUI);

registerMicroApps([
  {
    name: 'vue2',
    entry: '//localhost:3000',
    container: '#vue2',
    activeRule: '/vue2',
  },
]);
// 启动 qiankun
start();

new Vue({ router,render: h => h(App),}).$mount('#app')
